package com.wedimob.plugins.scrapper;

import java.util.ArrayList;
import java.util.List;

import com.wedimob.bo.SerializableBO;
import com.wedimob.content.Content;

public class Presentation extends SerializableBO<Presentation> {

	private Integer nbViews;
	private Summary summary;
	private List<Content> media = new ArrayList<Content>();
	private List<Summary> associated = new ArrayList<Summary>();
	private List<Summary> sameauthor = new ArrayList<Summary>();

	public Presentation(Summary summary) {
		super();
		this.summary = summary;
	}

	public Integer getNbViews() {
		return nbViews;
	}

	public void setNbViews(Integer nbViews) {
		this.nbViews = nbViews;
	}

	public Summary getSummary() {
		return summary;
	}

	public void addContent(Content content) {
		media.add(content);
	}

	public List<Content> getMedia() {
		return media;
	}

	public void addAssociated(Summary summary) {
		associated.add(summary);
	}

	public List<Summary> getAssociated() {
		return associated;
	}

	public void addSameAuthor(Summary summary) {
		sameauthor.add(summary);
	}

	public List<Summary> getSameauthor() {
		return sameauthor;
	}
}
